package com.senlingspace.payment.lakala.service;

import com.senlingspace.common.exception.payment.LakalaException;
import com.senlingspace.payment.lakala.bean.request.LakalaPreorderRequest;
import com.senlingspace.payment.lakala.bean.response.LakalaPreorderResponse;

/**
 * 拉卡拉聚合主扫
 *
 * @author lebronjames
 * @date 2024/09/29
 */
public interface LakalaPreorderService {

    /**
     * 聚合主扫
     *
     * @param request
     * @return {@link LakalaPreorderResponse }
     * @throws LakalaException 拉卡拉异常
     */
    LakalaPreorderResponse preorder(LakalaPreorderRequest request) throws LakalaException;

}
